<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script type="text/javascript" src="${pageContext.request.contextPath}/bootstrapJS/jquery.js"></script>
<title>编辑学生信息</title>
</head>
<body>
	<form action="save" method="post">
		<p>
			<input type="hidden" value="${student.id }">
		</p>
		<p>
			<label>学号</label>
			<input type="text" name="stuNum" value="${student.stuNum}">
		</p>
		<p>
			<label>姓名</label>
			<input type="text" name="name" value="${student.name}">
		</p>
		<p>
			<label>性别</label>
			<input type="text" name="sex" value="${student.sex}">
		</p>
		<p>
			<label>班级</label>
			<select name="tbClass.id" id="tbclass" >
				<c:forEach items="${tbclass}" var="b">
					<option value="${b.id }">${b.className }</option>
				</c:forEach>
			</select>
		</p>
		<p>
			<button type="submit">提交</button>
			<button type="reset">重置</button>
		</p>
	</form>
</body>
</html>